Pelecard\Gateway D

Total Complexity 174
Dependencies 15
Dependents 7
Total lines 1,288
Lines of code 734
Logical lines of code 407
Comment lines 314
Methods 69
Properties 3

Methods 69

Method Rating Maintainability Complexity Lines of code
maybe_process_redirect_order()
A
47 11 38
do_payment()
A
46 9 39
process_payment()
S
49 7 30
charge_by_order()
S
47 6 35
get_saved_payment_method_option_html()
S
46 5 43
process_refund()
S
48 5 32
scheduled_subscription_payment()
S
54 5 20
validate_payment_range_field()
S
60 5 13
set_auth_number()
S
51 4 26
add_payment_method()
S
55 3 21
check_ipn_response()
S
55 3 19
has_subscription()
S
70 4 6
form()
S
59 3 14
charge_by_token()
S
59 3 14
get_minimum_payments()
S
63 3 11
get_maximum_payments()
S
63 3 11
change_subs_payment_method()
S
55 2 19
get_custom_payment()
S
66 3 8
set_language()
S
64 3 10
get_checkout_total()
S
66 3 8
save_payment_method_checkbox()
S
66 3 9
validate_total_payments()
S
64 3 8
wcml_translated_keys()
S
64 3 9
get_validated_token()
S
65 3 8
get_password()
S
75 3 4
get_username()
S
75 3 4
get_terminal()
S
75 3 4
get_supported_cards()
S
59 2 14
get_option()
S
60 2 13
order_save_auth_number()
S
63 2 11
register_hooks()
S
55 1 20
get_supports()
S
58 1 18
__construct()
S
58 1 16
saved_payment_methods()
S
72 2 6
is_using_saved_payment_method()
S
75 2 4
has_auth_number()
S
69 2 6
receipt_page()
S
63 2 10
get_total_payments()
S
71 2 6
get_user_nonce()
S
70 2 6
save_token()
S
66 2 9
maybe_save_payment_method()
S
67 2 8
maybe_display_tokenization()
S
74 2 4
update_order_payment_token()
S
69 2 7
validate_upay_transaction()
S
71 2 6
get_subscriptions_for_order()
S
70 2 6
order_needs_processing()
S
71 2 6
cart_contains_subscription()
S
71 2 6
is_subs_change_payment()
S
78 2 3
get_order_payment_token()
S
66 2 9
get_new_payment_method_option_html()
S
72 2 6
get_timeout_url()
S
68 2 7
get_icon()
S
74 1 4
get_action_type()
S
82 1 3
get_credit_card_type_labels()
S
66 1 8
get_title()
S
78 1 3
get_has_fields()
S
79 1 3
get_method_title()
S
78 1 3
get_method_description()
S
78 1 3
update_order_token_ids()
S
79 1 3
get_order_button_text()
S
78 1 3
failing_payment_method_update()
S
76 1 4
get_minimum_credit_payments()
S
79 1 3
get_saved_cards()
S
74 1 4
get_checkout_payment_token()
S
74 1 4
generate_payment_range_html()
S
79 1 3
get_total_payments_range()
S
79 1 3
set_action_type()
S
77 1 4
order_save_payment_method()
S
80 1 3
init_form_fields()
S
80 1 3